|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.Global
public class Global
Overview of global variables used throughout the application.
| Field Summary | |
|---|---|
static java.lang.String |
AGENT_REPOSITORY
Path to agent repository |
static java.lang.String |
DOMAIN_REPOSITORY
Path to domain repository |
static java.lang.String |
logPrefix
|
static java.lang.String |
logPreset
|
static java.lang.String |
PROTOCOL_REPOSITORY
Path to protocol repository |
| Constructor Summary | |
|---|---|
Global()
|
|
| Method Summary | |
|---|---|
static Protocol |
createProtocolInstance(ProtocolRepItem protRepItem,
AgentRepItem[] agentRepItems,
ProfileRepItem[] profileRepItems,
java.util.HashMap<AgentParameterVariable,AgentParamValue>[] agentParams)
|
static Protocol |
createProtocolInstance(ProtocolRepItem protRepItem,
AgentRepItem[] agentRepItems,
ProfileRepItem[] profileRepItems,
java.util.HashMap<AgentParameterVariable,AgentParamValue>[] agentParams,
java.lang.ClassLoader classLoader)
|
static java.lang.String |
getAgentDescription(Agent agent)
Gives a useful agent name. |
static AgentsLoader |
getAgentsLoader()
|
static java.lang.String |
getBinaryRoot()
|
static java.lang.String |
getCurrentTime()
|
static java.lang.String |
getDistributedOutcomesFileName()
|
static java.lang.String |
getExtensiveOutcomesFileName()
|
static java.lang.String |
getFileNameWithoutExtension(java.lang.String fileName)
|
static java.lang.String |
getLocalDirName()
|
static java.lang.String |
getOQMOutcomesFileName()
|
static java.lang.String |
getOutcomesFileName()
|
static java.lang.Class<Protocol> |
getProtocolClass(ProtocolRepItem protRepItem)
|
static java.lang.Class<Protocol> |
getProtocolClass(ProtocolRepItem protRepItem,
java.lang.ClassLoader loader)
|
static java.lang.String |
getTournamentOutcomeFileName()
|
static boolean |
isJar()
|
static Agent |
loadAgent(java.lang.String agentClassName)
|
static Agent |
loadAgent(java.lang.String agentClassName,
java.lang.String variables)
|
static void |
setAgentsLoader(AgentsLoader agentsLoader)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DOMAIN_REPOSITORY
public static final java.lang.String AGENT_REPOSITORY
public static final java.lang.String PROTOCOL_REPOSITORY
public static java.lang.String logPrefix
public static java.lang.String logPreset
| Constructor Detail |
|---|
public Global()
| Method Detail |
|---|
public static java.lang.String getCurrentTime()
public static java.lang.String getLocalDirName()
public static java.lang.String getFileNameWithoutExtension(java.lang.String fileName)
public static java.lang.Class<Protocol> getProtocolClass(ProtocolRepItem protRepItem)
throws java.lang.Exception
java.lang.Exception
public static java.lang.Class<Protocol> getProtocolClass(ProtocolRepItem protRepItem,
java.lang.ClassLoader loader)
throws java.lang.Exception
java.lang.Exception
public static Protocol createProtocolInstance(ProtocolRepItem protRepItem,
AgentRepItem[] agentRepItems,
ProfileRepItem[] profileRepItems,
java.util.HashMap<AgentParameterVariable,AgentParamValue>[] agentParams)
throws java.lang.Exception
java.lang.Exception
public static Protocol createProtocolInstance(ProtocolRepItem protRepItem,
AgentRepItem[] agentRepItems,
ProfileRepItem[] profileRepItems,
java.util.HashMap<AgentParameterVariable,AgentParamValue>[] agentParams,
java.lang.ClassLoader classLoader)
throws java.lang.Exception
java.lang.Exception
public static Agent loadAgent(java.lang.String agentClassName)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
public static Agent loadAgent(java.lang.String agentClassName,
java.lang.String variables)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundExceptionpublic static java.lang.String getAgentDescription(Agent agent)
public static AgentsLoader getAgentsLoader()
public static void setAgentsLoader(AgentsLoader agentsLoader)
agentsLoader - the agentsLoader to setpublic static java.lang.String getOutcomesFileName()
public static java.lang.String getDistributedOutcomesFileName()
public static java.lang.String getTournamentOutcomeFileName()
public static java.lang.String getExtensiveOutcomesFileName()
public static java.lang.String getOQMOutcomesFileName()
public static java.lang.String getBinaryRoot()
public static boolean isJar()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||